[]
        
(Showing Draft Content)

C1.DataCollection.EntityFrameworkCore.C1EntityFrameworkCoreVirtualDataCollectionBase-1

C1EntityFrameworkCoreVirtualDataCollectionBase<T> Class

Virtualizing collection whose items are brought from a Linq IQueryable<T>.

Inheritance
C1EntityFrameworkCoreVirtualDataCollectionBase<T>
Namespace: C1.DataCollection.EntityFrameworkCore
Assembly: C1.DataCollection.EntityFrameworkCore.dll
Syntax
public abstract class C1EntityFrameworkCoreVirtualDataCollectionBase<T> : C1VirtualDataCollection<T>, IDataCollection<T?>, IReadOnlyList<T?>, IReadOnlyCollection<T?>, IEnumerable<T?>, IEnumerable, INotifyCollectionChanged, ISupportIndexing<T?>, INotifyPropertyChanged, IDisposable, ISupportVirtualization, ISupportRefreshing, ISupportConnection, ISupportAsyncLoading<T>, ISupportSorting, ISupportFiltering, ISupportEditing<T> where T : class
Type Parameters
Name Description
T

Constructors

Name Description
C1EntityFrameworkCoreVirtualDataCollectionBase(IQueryable<T>, int, int, TimeSpan?)

Initializes a new instance of the C1EntityFrameworkCoreVirtualDataCollection<T> class.

Properties

Name Description
Query

Methods

Name Description
CanFilter(FilterExpression?)

Returns whether the collection is able to filter the specified filterExpression.

CanSort(params SortDescription[])

Returns whether the collection is able to sort the specified sortDescriptions.

GetPageAsync(int, int, int, IReadOnlyList<SortDescription>?, FilterExpression?, CancellationToken)

When overridden in an inherited class it returns the items in the page as well as a token to the next page.